package com.mystudyspring.studySpringBoot.domain;

import java.sql.Timestamp;

/**
 * 记录日志实体
 *
 * @author lix
 * @create 2018-03-23 10:11
 */
public class LoggerEntity {
    private Long id;
    private String clientIp;
    private String url;
    private String method;
    private String paramData;
    private String sessionId;
    private Timestamp time;
    private String returnTime;
    private String returnData;
    private Integer httpStatus;
    private String contentType;

//    public LoggerEntity(Long id, String clientIp, String url, String method, String paramData, String sessionId, Timestamp time, String returnTime, String returnData) {
//        this.id = id;
//        this.clientIp = clientIp;
//        this.url = url;
//        this.method = method;
//        this.paramData = paramData;
//        this.sessionId = sessionId;
//        this.time = time;
//        this.returnTime = returnTime;
//        this.returnData = returnData;
//    }

    public void setReturnData(String returnData) {
        this.returnData = returnData;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setClientIp(String clientIp) {
        this.clientIp = clientIp;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setParamData(String paramData) {
        this.paramData = paramData;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public void setReturnTime(String returnTime) {
        this.returnTime = returnTime;
    }

    public void setHttpStatus(Integer httpStatus) {
        this.httpStatus = httpStatus;
    }

    public Long getId() {
        return id;
    }

    public String getClientIp() {
        return clientIp;
    }

    public String getUrl() {
        return url;
    }

    public String getMethod() {
        return method;
    }

    public String getParamData() {
        return paramData;
    }

    public String getSessionId() {
        return sessionId;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    public String getReturnTime() {
        return returnTime;
    }

    public String getReturnData() {
        return returnData;
    }

    public Integer getHttpStatus() {
        return httpStatus;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }
}
